/**
 * @filename:ItemService 2021-11-09 01:40:37
 * @project com/lwl/blue  V1.0
 * Copyright(c) 2020 <a href=mailto:lanwenliang@yidianlife.com>蓝文良</a> Co. Ltd.
 * All right reserved.
 */
package com.lwl.blue.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lwl.blue.commont.base.JsonResult;
import com.lwl.blue.commont.base.PageParam;
import com.lwl.blue.entity.Item;
import com.lwl.blue.entity.QuotationDetail;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * <p>自定义service写在这里</p>
 *
 * <p>说明： 产品服务层</P>
 * @version: V1.0
 * @author: <a href=mailto:lanwenliang@yidianlife.com>蓝文良</a>
 *
 */
public interface ItemService extends IService<Item> {
    JsonResult<Page<Item>> pages(PageParam<Item> pageParam);

    List<Item> getExportList(Item item);

    JsonResult getItemById(@PathVariable(value = "id") Integer id);

    /**
     * 产品图片快捷上传修改产品图片信息；
     * @param fileName
     * @param filePath
     */
    void updatePhoneByFileUpload(String fileName,String filePath);
}
